Compute the future value of a specifiedΒΆ
Compute the future value of a specified principal amount,
rate of interest, and a number of years.
Test Data :
amt = 10000, int = 3.5, years = 7
amt = 10000
int = 3.5
years = 7
future_value = amt*((1+(0.01*int)) ** years)
print(round(future_value,2))
Output:
12722.79